<?php
/*
 * Créé le 16 août 07 par jerome
 * Persistance interface class for a painting
 */


interface IPainting
{
	/*
	 * save a painting in parameter
	 * if id already exists, content is replaced by the new one
	 * $painting is a Painting object
	 */
	public function save($painting);
	
	/*
	 * load a painting 
	 * $id is a PaintingElement
	 * a Painting object is returned
	 */
	public function load($id);
}

?>